package com.qf.service;

import com.qf.pojo.Account;

import java.util.List;

public interface AccountService {

    Account findById(Integer id);

    /**
     * 转账
     */
    void transfer(Integer outId,String inName,Double money);

    List<Account> findAll();

    int update(Account account);

    List<Account> findByUid(int uid);

    int add(Account account);

    int deleteById(Integer id);
}
